/*
Autor: Alexander Savochkin, 2010
New BSD License
*/

#pragma once

#include <stdexcept>

using std::runtime_error;

namespace SRCLF {

	class Exception : public runtime_error
	{
	public:
		Exception(const string& message) : 
			runtime_error(message) {}
	};

	class ConfigException : public Exception
	{
	public:
		ConfigException(const string& message) : 
			Exception(message) {}
	};

	class ParseException : public Exception
	{
	public:
		ParseException(const string& message) : 
			Exception(message) {}
	};

} //namespace SRCLF
